<html><body><pre><script>
function fatorial(n) {
    return (n < 2) ? 1 : n * fatorial(n-1);
}

document.writeln(1, " ", fatorial(1));
document.writeln(2, " ", fatorial(2));
document.writeln(5, " ", fatorial(5));
document.writeln(7, " ", fatorial(7));
document.writeln(10, " ", fatorial(10));
document.writeln(20, " ", fatorial(20));
document.writeln(30, " ", fatorial(30));
</script></pre></body></html>

